package com.gr3g.dev.xml;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/** Classe de test.
 * @author Gregory Tardivel */
@XmlRootElement
@XmlType(name = "personne", propOrder = {"nom", "prenom", "age"})
public final class Personne {

    private String nom;
    private String prenom;
    private int age;

    /** @return the nom */
    public String getNom() {
        return this.nom;
    }

    /** @param pNom the nom to set */
    public void setNom(final String pNom) {
        this.nom = pNom;
    }

    /** @return the prenom */
    public String getPrenom() {
        return this.prenom;
    }

    /** @param pPrenom the prenom to set */
    public void setPrenom(final String pPrenom) {
        this.prenom = pPrenom;
    }

    /** @return the age */
    public int getAge() {
        return this.age;
    }

    /** @param pAge the age to set */
    public void setAge(final int pAge) {
        this.age = pAge;
    }

}
